import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class ClassPage extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Color(0xffF5F6FA),
      body: Center(
        child: temp,
      ),
    );
  }
  
Widget temp =Padding(
  padding: EdgeInsets.all(16),
  child: Container(
    height: 150,
     decoration: BoxDecoration(
      color: Color(0xffFFFFFF) ,
      boxShadow: [BoxShadow(color: Color(0xffEFF0F3),  blurRadius:5,)],
      borderRadius: BorderRadius.only(
         topRight: Radius.circular(75),
         topLeft: Radius.circular(10),
         bottomLeft: Radius.circular(10),
         bottomRight: Radius.circular(10),
    ),
  ),
  child: Column(
    children: <Widget>[
        Container(
          alignment: Alignment.bottomLeft,
          padding: EdgeInsets.only(left: 15,top: 12),
          child: Text('自助工具', style: TextStyle(fontWeight: FontWeight.w500)),
        ),
        Spacer(),
        Row(
          children: <Widget>[
            CupertinoButton(child:Icon(Icons.pages), onPressed: null),
             Spacer(),
            CupertinoButton(child: Icon(Icons.pages), onPressed: null),
             Spacer(),
            CupertinoButton(child: Icon(Icons.pages), onPressed: null),
             Spacer(),
            CupertinoButton(child: Icon(Icons.pages), onPressed: null),
          ], 
        ),

    ],
  ),
  ),
);



}
